package com.union.vehicleassistant.bean;

public class ChannelBean {

    private int id;
    private String name;
    private int channelOne;
    private int channelTwo;
    private boolean defaultMode;

    public ChannelBean(String name, int channelOne, int channelTwo) {
        this.name = name;
        this.channelOne = channelOne;
        this.channelTwo = channelTwo;
        this.id = (int) (Math.random() * 10000);
    }

    public ChannelBean(int channelOne, int channelTwo) {
        this.channelOne = channelOne;
        this.channelTwo = channelTwo;
    }

    public ChannelBean() {
    }

    public long getId() {
        return id;
    }

    public ChannelBean setId(int id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public ChannelBean setName(String name) {
        this.name = name;
        return this;
    }

    public int getChannelOne() {
        return channelOne;
    }

    public ChannelBean setChannelOne(int channelOne) {
        this.channelOne = channelOne;
        return this;
    }

    public int getChannelTwo() {
        return channelTwo;
    }

    public ChannelBean setChannelTwo(int channelTwo) {
        this.channelTwo = channelTwo;
        return this;
    }

    public boolean isDefaultMode() {
        return defaultMode;
    }

    public ChannelBean setDefaultMode(boolean defaultMode) {
        this.defaultMode = defaultMode;
        return this;
    }
}
